package someTestExcemple.huaweiOd.container.queue;

public class SimulateWorkQueueTest {

    //任务类
    public static   class Task {
        int submitTime;
        int execTime;
        public Task(int start,int exec) {
            this.submitTime = start;
            this.execTime = exec;
        }
    }
    // 定义执行者忙碌事件类，记录执行者结束任务的时刻和执行者编号
    public static class Busy {
        int finishTime; // 执行完成的时刻
        int executorId; // 执行者编号

        public Busy(int finishTime, int executorId) {
            this.finishTime = finishTime;
            this.executorId = executorId;
        }
    }
}
